using Framework.Library;
using Framework.Library.Utilities;

namespace Framework.Module.Adsvertising.Lib
{
	public class Constants
	{
		private const string CONFIG_FILENAME = "/Modules/Adsvertising/Advertise.Config";

		public static string UploadPath
		{
			get { return AppEnv.GetAppSetting("UploadPath", CONFIG_FILENAME); }
		}

		public static double CacheExpire
		{
			get { return ConvertUtility.ToDouble(AppEnv.GetAppSetting("CacheExpire", CONFIG_FILENAME)); }
		}
		public static bool InZone
		{
			get { return ConvertUtility.ToBoolean(AppEnv.GetAppSetting("InZone", CONFIG_FILENAME));}
		}
	}
}